/**
 * 
 */
package inc.jmc.cyberboard.ui.print.common;

import java.awt.Component;

import javax.swing.JCheckBox;
import javax.swing.JTable;
import javax.swing.table.TableCellRenderer;

public class PrintCheckBoxRenderer extends JCheckBox implements TableCellRenderer {
    public PrintCheckBoxRenderer() {
    	/*String[] items
        super(items);*/
    }
    public Component getTableCellRendererComponent(JTable table, Object value,
            boolean isSelected, boolean hasFocus, int row, int column) {
        if(((Boolean)value).booleanValue())
        	this.setSelected(true);
        else
        	this.setSelected(false);
        return this;
    }
}